package com.gsoe.base.model;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Builder;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class User {
    private Long id;
    private String userName;
    private String introduction;
    private String realName;
    private String password;
    private String email;
    private LocalDateTime disableTime;
    private String disableReason;
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;
    private String avatar;
}
